﻿using Module.CanJuPoJie.Views;
using Module.FreePlay.Views;
using Prism.Ioc;

using System.Windows.Controls;

namespace PrismChessApp.Views
{
    /// <summary>
    /// Interaction logic for QiPuWindown
    /// </summary>
    public partial class QiPuWindow : UserControl
    {
        public QiPuWindow(IContainerProvider containerProvider)
        {
            InitializeComponent();
            FreePlayFullTree qprecord = containerProvider.Resolve<FreePlayFullTree>();
            FreePlayfulltree.Children.Clear();
            FreePlayfulltree.Children.Add(qprecord);

            FreePlayContractTree conTractTreeOfQiPu = containerProvider.Resolve<FreePlayContractTree>();
            FreePlaycontracttree.Children.Clear();
            FreePlaycontracttree.Children.Add(conTractTreeOfQiPu);

            CanJuFullTree canjufull = containerProvider.Resolve<CanJuFullTree>();
            CanJufulltree.Children.Clear();
            CanJufulltree.Children.Add(canjufull);

            CanJuContractTree canjucontract = containerProvider.Resolve<CanJuContractTree>();
            CanJucontracttree.Children.Clear();
            CanJucontracttree.Children.Add(canjucontract);
        }
    }
}
